package com.caijg.domain.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * 存储包含逻辑过期属性的对象
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
public class RedisData {
    private LocalDateTime expire;
    private Object data;
}